#!/usr/bin/env python
# encoding: utf-8
"""
dbase_inspect.py

Created by Bud Gibson on 2010-07-03.
Copyright (c) 2010 Bud Gibson. Available under the GPL/Artistic License.
"""

import sys
import os
import config
import buzztracker.persistnet.snapshots as snap
import buzztracker.persistnet.db as db

def dbase_inspect(collection=snap):
  """docstring for dbase_inspect"""
  snapshots = collection.get_object_list()
  print len(snapshots)
  print list(snapshots)


def main():
  dbase_inspect()
  print len(db.root)
  print db.root.keys()
  test = db.get_db()
  print test.values()[-1]


if __name__ == '__main__':
  main()

